using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using XML_Indexing;

namespace Common
{
    public class Constants
    {
        private Type _defaultIndex;
        private String _defaultDataDirectory;

        public String DefaultDataDirectory
        {
            get { return _defaultDataDirectory; }
            set { _defaultDataDirectory = value; }
        }

        public Type DefaultIndex
        {
            get { return _defaultIndex; }
            set { _defaultIndex = value;  }
        }

        public bool LoadSettings(FileStream settingsFile)
        {
            return false;
        }

        // ONLY FOR TESTING! Will be removed when custom
        // settings are implemented!
        public bool LoadSettings()
        {
            DefaultIndex = typeof( VIST );
            DefaultDataDirectory = "C:/Data/";
            return true;
        }
    }
}
